package cn.dancepeak.course.mapper;

import cn.dancepeak.course.domain.Course;
import cn.dancepeak.course.query.CourseQuery;

import java.util.List;

public interface CourseMapper {
    void insert(Course course);

    void updateById(Course course);

    void deleteById(Long id);

    void deleteByList(List<Long> ids);

    Course selectById(Long id);

    List<Course> list(CourseQuery courseQuery);

    List<Course> getCourse();
}
